package cn.ffcs.uec.salary.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.uec.salary.dao.UecSalaryProjectDao;
import cn.ffcs.uec.salary.manager.UecSalaryProjectManager;
import cn.ffcs.uec.salary.model.UecSalaryProject;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("uecSalaryProjectManager")
@Scope("prototype")
public class UecSalaryProjectManagerImpl implements UecSalaryProjectManager {

	@Resource
	private UecSalaryProjectDao uecSalaryProjectDao;

	@Override
	public PageInfo queryPageInfoByUecSalaryProject(UecSalaryProject uecSalaryProject, int current,
			int pageSize) {
		return uecSalaryProjectDao.queryPageInfoByUecSalaryProject(uecSalaryProject, current, pageSize);
	}

	@Override
	public UecSalaryProject findObjectByUecSalaryProject(UecSalaryProject uecSalaryProject) {
		return uecSalaryProjectDao.findObjectByUecSalaryProject(uecSalaryProject);
	}

}
